package com.example.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 讲座报名请求DTO
 * 用于用户报名讲座
 */
@Data
@Schema(description = "讲座报名请求数据传输对象")
public class LectureRegistrationRequestDTO {

    @Schema(description = "用户ID", example = "1001")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "讲座ID", example = "2001")
    @NotNull(message = "讲座ID不能为空")
    private Long lectureId;
}